﻿using Cap;

namespace Microsoft.Extensions.DependencyInjection
{
    public static class ServiceCollectionExtensions
    {
        public static void AddCap(this IServiceCollection services, Action<ICapBuilder> configure)
        {
            var builder = new CapBuilder(services);
            configure(builder);
        }
    }
}
